package com.mswyt.utils.test.pb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mswyt.utils.msDataSource.annotation.MsDataSource;
import com.mswyt.utils.msLog.annotation.MsExecuteTime;
import com.mswyt.utils.test.pb.bean.MsDict;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;
public interface MsDictMapper extends BaseMapper<MsDict> {
    @MsExecuteTime(msg = "检测sql执行耗时")
    @Select(" select *from ms_user  ")
    List<Map<String,Object>> b1();

    @MsDataSource("db2")
    @Select("  select *from ghsw_project ")
    List<Map<String,Object>> b2();

    @MsDataSource("db3")
    @Select(" select *from nwyw_spare ")
    List<Map<String,Object>> b3();
}
